package entity

import (
	"time"

	"shqsoft.cn/pasnj/base"
)

//LSJJDTDRTJ 基金销售导入
type LSJJDTDRTJ struct {
	ID     int        `gorm:"AUTO_INCREMENT;primary_key;column:ID"`
	DTID   int        `gorm:"column:DTID"`
	EMID   int        `gorm:"column:EMID"`
	DPID   int        `gorm:"column:DPID"`
	PDID   int        `gorm:"column:PDID"`
	DTBH   string     `gorm:"column:DTBH"`
	YHZH   string     `gorm:"column:YHZH"`
	KHMC   string     `gorm:"column:KHMC"`
	ZJHM   string     `gorm:"column:ZJHM"`
	TAMC   string     `gorm:"column:TAMC"`
	CPDM   string     `gorm:"column:CPDM"`
	CPMC   string     `gorm:"column:CPMC"`
	TZJE   float64    `gorm:"column:TZJE"`
	TZR    float64    `gorm:"column:TZR"`
	TZQS   string     `gorm:"column:TZQS"`
	CGTZQS string     `gorm:"column:CGTZQS"`
	ZJSGRQ *time.Time `gorm:"column:ZJSGRQ;type:date"`
	ZJCLXX string     `gorm:"column:ZJCLXX"`
	JYZKL  float64    `gorm:"column:JYZKL"`
	JYJGMC string     `gorm:"column:JYJGMC"`
	KHJLDM string     `gorm:"column:KHJLDM"`
	KHJLMC string     `gorm:"column:KHJLMC"`
	GSZH   string     `gorm:"column:GSZH"`
	DTSQRQ *time.Time `gorm:"column:DTSQRQ;type:date"`
	JSBZ   string     `gorm:"column:JSBZ"`
	DRJG   string     `gorm:"column:DRJG"`
}

//TableName 房贷导入
func (LSJJDTDRTJ) TableName() string {
	return "T_INDI_JJDT_FYDR"
}

//LSJJDTDRTJEF 返回结构体
func LSJJDTDRTJEF() base.EntityFunc {
	return func() interface{} {
		entity := LSJJDTDRTJ{}
		return &entity
	}
}

//LSJJDTDRTJESF 返回结构体数组
func LSJJDTDRTJESF() base.EntitiesFunc {
	return func() interface{} {
		var entities []LSJJDTDRTJ
		return &entities
	}
}

func init() {
	base.DaoPoolObj.Put("LSJJDTDRTJ", base.NewDefaultDao(LSJJDTDRTJEF(), LSJJDTDRTJESF(), nil))
}
